package com.hospital.insurancedip.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.insurancedip.module.entity.Minsur1101Baseinfo;
import com.hospital.insurancedip.module.entity.StaffDict;
import com.hospital.insurancedip.module.mapper.Minsur1101BaseinfoMapper;
import com.hospital.insurancedip.module.service.Minsur1101BaseinfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-06-16
 */
@Service
public class Minsur1101BaseinfoServiceImpl extends ServiceImpl<Minsur1101BaseinfoMapper, Minsur1101Baseinfo> implements Minsur1101BaseinfoService {
    @Resource
    private Minsur1101BaseinfoMapper minsur1101BaseinfoMapper;

    @Override
    public StaffDict getInsurCode(String userId) {
        return minsur1101BaseinfoMapper.getInsurCode(userId);
    }

}
